package com.ganbo.stock.entity;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 解禁(以当前交易日的前后15天左右为时间范围，已经进行或者即将进行的解禁限售行为)
 * Created by gan on 2020/12/28 21:10.
 */

@Data
@Entity
@Table(name = "s_release_ban")
@ToString(callSuper = true)
public class ReleaseBan extends BaseEntity {

    @Temporal(TemporalType.DATE)
    private Date recordDate;    //记录时间(年月日)

    //=========接口返回数据==============

    private String dm;              //股票代码
    private String mc;              //股票名称
    private String rdate;           //解禁日期yyyy-MM-dd
    private Integer ramount;        //解禁数量(万股)
    private BigDecimal rprice;      //解禁股流通市值(亿元)
    private BigDecimal batch;       //上市批次
    private String pdate;           //公告日期yyyy-MM-dd

}
